<p-dialog [(visible)]="display" modal="modal"  [responsive]="true" [width]="width" (onHide)="cloasePointerItems(false)">
  <p-header>
    关联巡检点
    <!--{{title}}-->
  </p-header>
  <div class="ui-g">
    <div class="ui-g-12">
      <div class="file-box">
        <p-dataTable [value]="inspectionsRegion"
                     [totalRecords]="totalRecords"  [(selection)]="selectInsepections" >
          <p-column [style]="{'width':'38px'}" selectionMode="multiple"></p-column>
          <p-column  *ngFor="let col of cols" field="{{col.field}}" header="{{col.header}}"></p-column>
          <ng-template pTemplate="emptymessage">
            当前没有数据
          </ng-template>
        </p-dataTable>
        <p-paginator rows="10" [totalRecords]="totalRecords" [rowsPerPageOptions]="[10,20,30]" (onPageChange)="paginate($event)"></p-paginator>
      </div>
    </div>
  </div>
  <p-footer>
    <button type="button" pButton icon="fa-check" label="确定" [disabled]="selectInsepections.length===0" (click)="addInspectionObject(false)" ></button>
    <button type="button" pButton icon="fa-close"  label="取消" (click)="cloasePointerItems(false)"></button>
  </p-footer>
</p-dialog>

